home *** CD-ROM | disk | FTP | other *** search
/ Champak 110 / jogo-disk-110.iso / Games / tobby_sucuri.swf / scripts / DefineButton2_227 / BUTTONCONDACTION on(press).as next >
Text File  |  2008-11-12  |  363b  |  19 lines

  1. on(press){
  2.    if(_root.windowFlg)
  3.    {
  4.       return undefined;
  5.    }
  6.    if(_root.instDispFlg)
  7.    {
  8.       _root.instMC.removeMovieClip();
  9.       _root.instDispFlg = false;
  10.    }
  11.    else
  12.    {
  13.       _root.instDispFlg = true;
  14.       _root.attachMovie("instTxt","instMC",_root.depthInst);
  15.       _root.instMC._x = 331;
  16.       _root.instMC._y = 251;
  17.    }
  18. }
  19.